﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MODEL;
using DAL;

namespace Service
{
    public class AreaService:IAreaService
    {
        public async Task<IEnumerable<Province>> GetAllProvinceList()
        {
            return await AreaDAL.GetAllProvinceList();
        }

        public async Task<IEnumerable<City>> GetAllCityList()
        {
            return await AreaDAL.GetAllCityList();
        }

        public async Task<IEnumerable<County>> GetAllCountyList()
        {
            return await AreaDAL.GetAllCountyList();
        }

        public async Task<IEnumerable<Town>> GetTownList()
        {
            return await AreaDAL.GetTownList();
        }
    }
}
